export default {
  install(Vue) {
    Vue.filter("FormatNumber", function(value) {
        let res = value
        if(value>10000){
            res = (value/10000).toFixed(0) +'万'
        }
        if(value>100000000){
            res = (value/100000000).toFixed(1) +'亿'
        }
      return res
    });
  }
};
